package cn.ycc1.springquickstart.util;

/**
 * 饿汉式
 *
 * @author ycc
 * @date 2024/3/24
 */
public class Singleton1 {
    private static final Singleton1 instance = new Singleton1();

    private Singleton1() {}

    public static Singleton1 getInstance() {
        return instance;
    }
}
